% $Header: /cvsrepos/html2ps/postscript/table.row.ps,v 1.1 2008/07/01 12:33:12 sergey Exp $

/get-row-baseline {                % => Row
% Calculate maximal baseline for each cell contained
% Cell baseline is the baseline of its first line box
  { 
    get-content 
    dup length 0 gt {
      0 get
      get-baseline
      max
    } {
      pop
    } ifelse
  } 
  exch
  0 exch
  reduce
  
} def
